#ifndef FINDWIDGET_H
#define FINDWIDGET_H
#include "protocol.h"
#include <QWidget>
#include <QListWidget>
#include <QJsonArray>
#include <QJsonObject>
#include <QJsonDocument>
//声明使用
class QWidget;
//
namespace Ui {
class FindWidget;
}

class FindWidget : public QWidget
{
    Q_OBJECT

public:
    explicit FindWidget(QWidget *parent = nullptr);
    ~FindWidget();

    void LinkTcpSignalAndSlot();

    QListWidget* GetFindListWidget();

signals:
    void Sig_FindOnline(myuint Type,QJsonObject Info);
public slots:
    void ActForOnlineFind(QList<QPair<QString,QString>> RecvData);

private slots:
    void on_OnlineBtn_clicked();

private:
    Ui::FindWidget *ui;
};

#endif // FINDWIDGET_H
